Adjust test overrides_and_links.
authorNathanael Jones <nathanael.jones@gmail.com>
Tue, 7 Feb 2017 09:34:04 +0000 (02:34 -0700)
committerNathanael Jones <nathanael.jones@gmail.com>
Tue, 7 Feb 2017 09:34:38 +0000 (02:34 -0700)
While order between rust-c-link-lib and rustc-flags was always undefined
(for TOML configuration), order of link paths/libs within a single
rustc-flags value was maintained. Now we sort them all.

tests/build-script.rs

index d1679f52a7d5e7f2693db636145603b6788ca40a..d0179e68a203ee59e29be9f1e950d55b7c6bb495 100644 (file)
@@ -306,7 +306,7 @@ fn overrides_and_links() {
 [..]
 [..]
 [..]
-[RUNNING] `rustc --crate-name foo [..] -L foo -L bar[..]`
+[RUNNING] `rustc --crate-name foo [..] -L bar -L foo`
 [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
 "));
 }